import { View, Text } from "@tarojs/components"
import React from "react";
export function TitleColor(props: { className?: string, style?: string, children: any }) {
  return (<View style='text-align:left;'>
    <Text style={`border-bottom:3px solid #6190E8;padding-bottom:2px;display:block;width:fit-content;${props.style ? props.style : ''}`} className={props.className}>
      {props.children}
    </Text>
  </View>)
}
/**
 *
 * 一个
 */
export function TextRow(args: {
  left: string,
  right: string
}) {
  return (
    <View style='width:100%' className='at-row at-row__justify--between at-input'>
      <Text className='fslg'>{args.left}</Text>
      <Text className='fslg' style='margin-right:20px'>{args.right}</Text>
    </View>
  )
}